Skip to content

Missing German umlaut - #21

Closed
arifaydogmus wants to merge 1 commit into
tyxla:masterfrom
arifaydogmus:master
Closed

arifaydogmus wants to merge 1 commit into
tyxla:masterfrom
arifaydogmus:master

Conversation

@arifaydogmus

Copy link
Copy Markdown

ß => ss

@maxclaus

maxclaus commented Sep 3, 2020

Copy link
Copy Markdown

I think it shouldn't be added to this library. This library seems to cover only accent related diacritics. For full mapping of every diacritics possible, there are other libs for that. Is that right @tyxla ?

@tyxla

tyxla commented Sep 9, 2020 •

Copy link
Copy Markdown
Owner

Yeah, I can understand why such a character wouldn't be covered, but at the same time, if we follow what WordPress does in its remove_accents, it seems to convert that case (see https://developer.wordpress.org/reference/functions/remove_accents/). So I'm planning to merge that, too - seems like this PR could use a test though.

@gollenia

gollenia commented Nov 7, 2022

Copy link
Copy Markdown
Contributor

Ah, just seen there's been a request already. Since the "ß" is very commonly used in germany and Austria, it shold be added. It's a ligature of s and z and has - historically - a similar origin than accents.

@tyxla

tyxla commented Nov 9, 2022

Copy link
Copy Markdown
Owner

On top of the PR missing tests, I'm confused as to whether this should be converted to sz or ss - I see different opinions on the matter. Thoughts anyone?

@gollenia

Copy link
Copy Markdown
Contributor

the letter exists ONLY in the german language, and it is allways converted to ss, never zo sz. Why does it matter? Because without it, the package is useless for the german language.

@tyxla

tyxla commented Nov 13, 2022 •

Copy link
Copy Markdown
Owner

This is addressed by #31 as well.

@tyxla

tyxla commented Nov 13, 2022

Copy link
Copy Markdown
Owner

I'm happy to merge the first PR that includes a unit test 😉

@tyxla tyxla mentioned this pull request Nov 13, 2022
@tyxla

tyxla commented Nov 24, 2022

Copy link
Copy Markdown
Owner

This was addressed by #31 and #32.

@tyxla tyxla closed this Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants